<%@page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%@taglib prefix="x" uri="/soar-bx-tags"%>
<x:HeaderParts >
		<meta charset="utf-8" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1, user-scalable=no">
<link rel="stylesheet" type="text/css" href="<x:Context/>/assets/css/index.css"/>
</x:HeaderParts>
<x:MainPartsTag>
	<x:zone name="MainZone">
		<x:Form action="welcome.shtml" id="MainFrm" name="MainFrm">
			<x:ParamsParts>
			</x:ParamsParts>
			<style type="text/css">
			.table a, .table-bordered a{
				display: block;
				width: 100%;
				color: #10AF88;
			}
			.table>tbody>tr>td, .table-bordered>tbody>tr>td{
				padding-top: 7px; padding-bottom: 7px; padding-left: 3px; padding-right: 3px; text-align: center;
			}
			.table>thead>tr>td, .table-bordered>thead>tr>td{
				padding-top: 6px; padding-bottom: 6px;background: #FAFAFA; color: #a4b1ba;text-align: center;
			}
			</style>
		<div class="wrapper">
			
			<!--数据摘要测试-->
				<div class="col-xs-6 col-sm-6 col-md-3">
					<div class="con-weight box-primary">
						<dl>
							<dt class="num"><s:property value="todayRegUserNum"/></dt>
							<dd class="tit">今日注册用户</dd>
						</dl>
					</div>
				</div>
				<div class="col-xs-6 col-sm-6 col-md-3">
					<div class="con box-primary">
						<dl>
							<dt class="num"><s:property value="todayRegOrgNum"/></dt>
							<dd class="tit">今日注册机构</dd>
						</dl>
					</div>
				</div>
				<div class="col-xs-6 col-sm-6 col-md-3">
					<div class="con box-primary">
						<dl>
							<dt class="num"><s:property value="totalUserNum"/></dt>
							<dd class="tit">总用户数</dd>
						</dl>
					</div>
				</div>
				<div class="col-xs-6 col-sm-6 col-md-3">
					<div class="con box-primary">
						<dl>
							<dt class="num"><s:property value="totalOrgNum"/></dt>
							<dd class="tit">总机构数</dd>
						</dl>
					</div>
				</div>
				<!--摘要 end-->
		<!--机构-->
				<div class="col-xs-12 col-sm-7 col-md-7">
					<div class="con">
						<div class="con-bar">
							<span class="title">机构</span>
							
						</div>
						<div class="con-content ">
							<table class="table-bordered table-hover tb-solid" data-toggle="table">
							    <thead>
								    <tr>
								        <td width="40%" sort="T1.PROJECT_NAME">机构名称</td>
										<td width="30%" sort="T1.PROJECT_VALUE">机构代码</td>
										<td width="15%">管理员</td>
										<td width="15%">机构人数</td>
										
								    </tr>
							    </thead>
							    <tbody>
								   <s:iterator value="regOrgList">
										<tr>
											<td align="center"><s:property value="ORG_NAME"/></td>
											<td align="center"><s:property value="ORG_CODE"/></td>
											<td align="center"><s:property value="ADMIN_USER"/></td>
											<td align="center"><s:property value="TOTALUSER"/></td>
										</tr>
									</s:iterator>
										<tr>
											<td class="person-part-more" width="100%" colspan="7" bgcolor="#f6fdfb"><a  href="javascript:void(0);" onclick="getorg()">查看全部</a></td>
										</tr>
							    </tbody>
							</table>
						</div>
					</div>
				</div>
				<!--机构end-->
			
			<!--排行-->
				<div class="col-xs-12 col-sm-5 col-md-5">
					<div class="con">
						<div class="con-bar">
							<span class="title">用户活跃排名<span class="sign">Top 10</span></span>
							
						</div>
						<div class="con-content">
								<table class="table table-hover tb-dashed" data-toggle="table">
								    <thead>
									    <tr>
									        <td width="20%">排名</td>
											<td width="55%">姓名</td>
									    </tr>
								    </thead>
								    <tbody>
									    <s:iterator value="activeUserRanking">
											<tr>
												<td align="center"><s:property value="MOBILE"/></td>
												<td align="center"><s:property value="NAME"/></td>
											
											</tr>
										</s:iterator>
								    </tbody>
								</table>
							</div>
						</div>
					</div>
				</div>
				<!--排行end-->
			
			
			<x:JsParts fn="getorg">
				function getorg()
				{
					X.Submit("getorg",1);
				}
			</x:JsParts>
		</x:Form>
	</x:zone>
</x:MainPartsTag>
